<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>index</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript" src="<%=path%>/my/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
$(function(){
	$.post("/icms-web-demo/user/datagrid", function(result){
		console.info(result);
	},"json");
});
</script>
</head>

<body>

	<h1>Hello Spring MVC</h1>

	<a href="<%=path%>/user/show">查看数据列表</a>
	<hr>
	<a href="<%=path%>/user/datagrid">查看数据列表JSON</a>
	<hr>
	<a href="<%=path%>/user/get/1">查看ID为1的JSON</a> 
	<hr>
	<a href="<%=path%>/user/delete/1">删除ID为1的JSON</a> 

</body>
</html>
